using System;
using System.Collections.Generic;
using System.Linq;
using System.Data.Linq;
using System.Data.Linq.Mapping;

namespace LinqHelper.Entity
{
	[Table(Name = "Hotels")]
	public class LqHotelsEntity
	{
		Guid _Id;
		
		[Column(DbType = "uniqueidentifier NOT NULL", IsPrimaryKey = true)]
        public Guid Id
        {
            set
            {
                _Id = value;
            }
            get
            {
                return _Id;
            }
        }
        
		string _IntId;
		
		[Column(DbType = "varchar(512) NOT NULL", IsPrimaryKey = false)]
        public string IntId
        {
            set
            {
                _IntId = value;
            }
            get
            {
                return _IntId;
            }
        }
        
		System.Nullable<Guid> _PhotoId;
		
		[Column(DbType = "uniqueidentifier", IsPrimaryKey = false)]
        public System.Nullable<Guid> PhotoId
        {
            set
            {
                _PhotoId = value;
            }
            get
            {
                return _PhotoId;
            }
        }
        
		decimal _Price;
		
		[Column(DbType = "money NOT NULL", IsPrimaryKey = false)]
        public decimal Price
        {
            set
            {
                _Price = value;
            }
            get
            {
                return _Price;
            }
        }
        
	}
}
